import { defineFakeRoute } from 'vite-plugin-fake-server/client'

// 模拟刷新token接口
export default defineFakeRoute([
  {
    url: '/api/captchas',
    method: 'get',
    response: () => {
      return {
        code: 10000,
        message: 'success',
        data: {
          captcha:
            '',
          captchaId: 'YvrYGxndKZta4TesgUzo'
        }
      }
    }
  }
])
